package com.cyl.manager.pms.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel(value = "商品查询请求对象")
public class ProductQueryReq {

    @ApiModelProperty("排序字段")
    private String orderField = "sort";

    @ApiModelProperty("排序规则")
    private String orderSort = "desc";

    @ApiModelProperty("搜索关键字")
    private String search;

    @ApiModelProperty("排序 精确匹配")
    private Integer sort;

    @ApiModelProperty("上架状态：0->下架；1->上架 精确匹配")
    private Integer publishStatus;

    @ApiModelProperty("CATEGORY_ID 精确匹配")
    private Long categoryId;

    //排查的id
    private List<Long> excludeProductIds;

    private List<Long> ids;
} 